package com.syw.entity;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * SywDept entity. @author MyEclipse Persistence Tools
 */

public class SywDept implements java.io.Serializable {

	// Fields

	private int id;
	private String name;
	private Set sywMaintains = new HashSet(0);
	private Set sywEmps = new HashSet(0);

	// Constructors

	/** default constructor */
	public SywDept() {
	}

	/** minimal constructor */
	public SywDept(String name) {
		this.name = name;
	}

	/** full constructor */
	public SywDept(String name, Set sywMaintains, Set sywEmps) {
		this.name = name;
		this.sywMaintains = sywMaintains;
		this.sywEmps = sywEmps;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getSywMaintains() {
		return this.sywMaintains;
	}

	public void setSywMaintains(Set sywMaintains) {
		this.sywMaintains = sywMaintains;
	}

	public Set getSywEmps() {
		return this.sywEmps;
	}

	public void setSywEmps(Set sywEmps) {
		this.sywEmps = sywEmps;
	}

}